package com.ruoyi.purchase.service;

import com.ruoyi.purchase.domain.PurchaseTrace;

import java.util.List;

/**
 * purchaseTraceService接口
 * 
 * @author kevinness
 * @date 2025-01-31
 */
public interface IPurchaseTraceService 
{
    /**
     * 查询purchaseTrace
     * 
     * @param orderNo purchaseTrace主键
     * @return purchaseTrace
     */
    public PurchaseTrace selectPurchaseTraceByOrderNo(String orderNo);

    /**
     * 查询purchaseTrace列表
     * 
     * @param purchaseTrace purchaseTrace
     * @return purchaseTrace集合
     */
    public List<PurchaseTrace> selectPurchaseTraceList(PurchaseTrace purchaseTrace);

    /**
     * 新增purchaseTrace
     * 
     * @param purchaseTrace purchaseTrace
     * @return 结果
     */
    public int insertPurchaseTrace(PurchaseTrace purchaseTrace);

    /**
     * 修改purchaseTrace
     * 
     * @param purchaseTrace purchaseTrace
     * @return 结果
     */
    public int updatePurchaseTrace(PurchaseTrace purchaseTrace);

    /**
     * 批量删除purchaseTrace
     * 
     * @param orderNos 需要删除的purchaseTrace主键集合
     * @return 结果
     */
    public int deletePurchaseTraceByOrderNos(String[] orderNos);

    /**
     * 删除purchaseTrace信息
     * 
     * @param orderNo purchaseTrace主键
     * @return 结果
     */
    public int deletePurchaseTraceByOrderNo(String orderNo);
}
